package org.jeecg.modules.xindian.reconciliation.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.modules.xindian.reconciliation.enums.DeleteFlagEnum;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 业务员信息表
 * @Author: jeecg-boot
 * @Date:   2024-04-11
 * @Version: V1.0
 */
@Data
@TableName("salesman")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="salesman对象", description="业务员信息表")
public class Salesman implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**业务员名称*/
	@Excel(name = "业务员名称", width = 15)
    @ApiModelProperty(value = "业务员名称")
    private java.lang.String name;
    /**业务员名称*/
    @Excel(name = "客户数量", width = 15)
    @ApiModelProperty(value = "客户数量")
    @TableField(exist = false)
    private Integer companyNumber;
	/**是否删除*/
    @Excel(name = "是否删除", width = 15,dicCode = "SC_SFSC")
    @ApiModelProperty(value = "是否删除")
    @Dict(dicCode = "SC_SFSC")
    private DeleteFlagEnum deleteFlag;
}
